/**
 * 自定义路由配置
 */
export default [
  {
    name: 'dashboard',
    redirect: 'workbench',
    meta: {
      title: '仪表盘',
      icon: 'el-icon-s-help'
    },
    children: [
      {
        name: 'workbench',
        component: () => import('@/views/dashboard/workbench'),
        meta: {
          title: '工作台'
        }
      },
    ]
  },
  {
    name: 'user',
    redirect: 'list',
    meta: {
      title: '用户管理',
      icon: 'el-icon-s-custom'
    },
    children: [
      {
        name: 'list',
        component: () => import('@/views/user/list'),
        meta: {
          title: '用户列表'
        }
      },
    ]
  }
]